package cn.doourbest.learndubbo.learndubboconsumer.controller;

import cn.doourbest.learndubbo.learndubboconsumer.service.AnnotationAction;
import com.alibaba.dubbo.config.support.Parameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: zhangsc
 * @create: 2019/12/24
 */

@RestController
public class DemoController {


    @Autowired
    private AnnotationAction annotationAction;

    @GetMapping("/get")
    public void getString(){
        System.out.println(annotationAction.doSayHello("zsc"));
    }
}
